package com.zros.modules.business.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zros.modules.business.dto.QueryClueDto;
import com.zros.modules.business.entity.Clue;
import com.zros.modules.business.vo.ClueInfoVo;

/**
 * <p>
 * 线索表 Mapper 接口
 * </p>
 *
 * @author pangyinqiang
 * @since 2019-04-17
 */
public interface ClueMapper extends BaseMapper<Clue> {
	/**
     * 查询列表
     * @return
     */
	List<ClueInfoVo> selectClueList(@Param("queryClueDto") QueryClueDto queryClueDto,@Param("page") Long page,@Param("rows") Long rows);
	Long selectCountClueList(@Param("queryClueDto") QueryClueDto queryClueDto);
    /**
     * 查询通知列表
     * @return
     */
    Page<ClueInfoVo> selectNotifyClueList( Page<ClueInfoVo> page, @Param("queryClueDto") QueryClueDto queryClueDto);
    
    //查询所有用户id和名称
    List<Map<String, String>> getAllUser();
    
    //查询所有校区
    Map<String, String> getAllOrg();
    
    //查询所有渠道类型
    Map<String, String> getAllChannelType();
    
    //查询所有渠道
    Map<String, String> getAllChannel();
    
    //查询所有科系
    Map<String, String> getAllDepartment();
    
    //查询所有课程
    Map<String, String> getAllCourse();
    
    //查询所有老师
    Map<String, String> getAllTeacher();
    
}
